package com.aistar.pojoVO;

import com.aistar.pojo.Customer;
import com.aistar.pojo.Dynamic;
import com.aistar.pojo.DynamicComment;

import java.io.Serializable;

public class DynamicCommentVO implements Serializable {
    // 评论的用户
    private Customer customer;
    // 评论的动态
    private DynamicComment dynamicComment;
    // 该评论的下级评论数
    private Integer comment;
    // 动态
    private Dynamic dynamic;
    private static final long serialVersionUID = 1L;
    
    public DynamicCommentVO(Customer customer, DynamicComment dynamicComment, Integer comment, Dynamic dynamic) {
        this.customer = customer;
        this.dynamicComment = dynamicComment;
        this.comment = comment;
        this.dynamic = dynamic;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public DynamicComment getDynamicComment() {
        return dynamicComment;
    }

    public void setDynamicComment(DynamicComment dynamicComment) {
        this.dynamicComment = dynamicComment;
    }

    public Integer getComment() {
        return comment;
    }

    public void setComment(Integer comment) {
        this.comment = comment;
    }

    public Dynamic getDynamic() {
        return dynamic;
    }

    public void setDynamic(Dynamic dynamic) {
        this.dynamic = dynamic;
    }

    @Override
    public String toString() {
        return "DynamicCommentVO{" +
                "customer=" + customer +
                ", dynamic=" + dynamic +
                ", dynamicComment=" + dynamicComment +
                ", comment=" + comment +
                '}';
    }
}
